#include "stretchFeature.h"

StretchFeature::StretchFeature()
{
    //初始值都设置成-1
    featureType = 9;
    stretchId = -1;
    stretchType = -1;
    resultId = -1;
    subShapeIndex = -1;
    targetFeature = nullptr;
}

StretchFeature::~StretchFeature()
{
}

int StretchFeature::getStretchId()
{
    return this->stretchId;
}

int StretchFeature::getStretchType()
{
    return this->stretchType;
}

int StretchFeature::getResultId()
{
    return this->resultId;
}

BaseFeature* StretchFeature::getTargetFeature()
{
    return this->targetFeature;
}

int StretchFeature::getSubShapeIndex()
{
    return this->subShapeIndex;
}

gp_Vec StretchFeature::getStretchVec()
{
    return this->stretchVec;
}


void StretchFeature::setStretchId(int stretchId)
{
    this->stretchId = stretchId;
}

void StretchFeature::setStretchType(int stretchType)
{
    this->stretchType = stretchType;
}

void StretchFeature::setResultId(int resultId)
{
    this->resultId = resultId;
}

void StretchFeature::setTargetFeature(BaseFeature* targetFeature)
{
    this->targetFeature = targetFeature;
}

void StretchFeature::setSubShapeIndex(int index)
{
    this->subShapeIndex = index;
}

void StretchFeature::setStretchVec(gp_Vec vec)
{
    this->stretchVec = vec;
}

